PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Liquid Ripples / va ultramix2 - 373_1 dt r3 --- Isosceles edit.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=1 |
| 12 | nWaveMode=5 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=1 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=0.721 |
| 27 | fWaveSmoothing=0.500 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.500 |
| 30 | fModWaveAlphaEnd=1.000 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.000 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=1.00000 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00001 |
| 40 | dy=0.00001 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.500 |
| 45 | wave_g=0.500 |
| 46 | wave_b=0.500 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.005 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=0.000 |
| 60 | nMotionVectorsY=0.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=1.000 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=0.22480 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_point1=r = q1; |
| 89 | wave_0_per_point2=g = q2; |
| 90 | wave_0_per_point3=b = q3; |
| 91 | wave_0_per_point4= |
| 92 | wave_0_per_point5=x = x + 0.42*cos(1-sin(3.2*time)); |
| 93 | wave_0_per_point6=y = y + 0.47*sin(0.72*time-cos(1.1*time)); |
| 94 | wavecode_1_enabled=1 |
| 95 | wavecode_1_samples=512 |
| 96 | wavecode_1_sep=0 |
| 97 | wavecode_1_bSpectrum=0 |
| 98 | wavecode_1_bUseDots=0 |
| 99 | wavecode_1_bDrawThick=0 |
| 100 | wavecode_1_bAdditive=0 |
| 101 | wavecode_1_scaling=0.22480 |
| 102 | wavecode_1_smoothing=0.50000 |
| 103 | wavecode_1_r=1.000 |
| 104 | wavecode_1_g=1.000 |
| 105 | wavecode_1_b=1.000 |
| 106 | wavecode_1_a=1.000 |
| 107 | wave_1_per_point1=r = 1-abs(q1); |
| 108 | wave_1_per_point2=g = 1-abs(q2); |
| 109 | wave_1_per_point3=b = 1-abs(q3); |
| 110 | wave_1_per_point4= |
| 111 | wave_1_per_point5=y = y + 0.42*cos(1-sin(1.82*time)); |
| 112 | wave_1_per_point6=x = x + 0.47*sin(0.72*time-cos(1.72*time)); |
| 113 | wavecode_2_enabled=1 |
| 114 | wavecode_2_samples=512 |
| 115 | wavecode_2_sep=0 |
| 116 | wavecode_2_bSpectrum=0 |
| 117 | wavecode_2_bUseDots=0 |
| 118 | wavecode_2_bDrawThick=0 |
| 119 | wavecode_2_bAdditive=0 |
| 120 | wavecode_2_scaling=0.22480 |
| 121 | wavecode_2_smoothing=0.50000 |
| 122 | wavecode_2_r=1.000 |
| 123 | wavecode_2_g=1.000 |
| 124 | wavecode_2_b=1.000 |
| 125 | wavecode_2_a=1.000 |
| 126 | wave_2_per_point1=r = 1-abs(q2); |
| 127 | wave_2_per_point2=g = q3; |
| 128 | wave_2_per_point3=b = 1-abs(0.5*q2 + 0.5*q1); |
| 129 | wave_2_per_point4= |
| 130 | wave_2_per_point5=x = x + 0.42*sin(1-cos(2.12*time)); |
| 131 | wave_2_per_point6=y = y + 0.47*cos(0.72*time-sin(2.7*time)); |
| 132 | wavecode_3_enabled=1 |
| 133 | wavecode_3_samples=512 |
| 134 | wavecode_3_sep=0 |
| 135 | wavecode_3_bSpectrum=0 |
| 136 | wavecode_3_bUseDots=0 |
| 137 | wavecode_3_bDrawThick=0 |
| 138 | wavecode_3_bAdditive=0 |
| 139 | wavecode_3_scaling=0.22480 |
| 140 | wavecode_3_smoothing=0.50000 |
| 141 | wavecode_3_r=1.000 |
| 142 | wavecode_3_g=1.000 |
| 143 | wavecode_3_b=1.000 |
| 144 | wavecode_3_a=1.000 |
| 145 | wave_3_per_point1=r = q3; |
| 146 | wave_3_per_point2=g = q1; |
| 147 | wave_3_per_point3=b = q2; |
| 148 | wave_3_per_point4= |
| 149 | wave_3_per_point5=y = y + 0.42*sin(1-cos(1.72*time)); |
| 150 | wave_3_per_point6=x = x + 0.47*cos(0.72*time-sin(1.2*time)); |
| 151 | shapecode_0_enabled=0 |
| 152 | shapecode_0_sides=4 |
| 153 | shapecode_0_additive=0 |
| 154 | shapecode_0_thickOutline=0 |
| 155 | shapecode_0_textured=1 |
| 156 | shapecode_0_num_inst=1 |
| 157 | shapecode_0_x=0.500 |
| 158 | shapecode_0_y=0.500 |
| 159 | shapecode_0_rad=0.33004 |
| 160 | shapecode_0_ang=0.00000 |
| 161 | shapecode_0_tex_ang=0.00000 |
| 162 | shapecode_0_tex_zoom=1.64463 |
| 163 | shapecode_0_r=1.000 |
| 164 | shapecode_0_g=1.000 |
| 165 | shapecode_0_b=1.000 |
| 166 | shapecode_0_a=1.000 |
| 167 | shapecode_0_r2=1.000 |
| 168 | shapecode_0_g2=1.000 |
| 169 | shapecode_0_b2=1.000 |
| 170 | shapecode_0_a2=1.000 |
| 171 | shapecode_0_border_r=1.000 |
| 172 | shapecode_0_border_g=1.000 |
| 173 | shapecode_0_border_b=1.000 |
| 174 | shapecode_0_border_a=1.000 |
| 175 | shape_0_per_frame1=shpt = above(bass_att,shpt)*2+(1-above(bass_att,shpt))*((shpt-1.3)*0.96+1.3); |
| 176 | shape_0_per_frame2=sdx_r = equal(shpt,2)*0.015*sin(5*time)+(1-equal(shpt,2))*sdx_r; |
| 177 | shape_0_per_frame3=sdy_r = equal(shpt,2)*0.015*sin(6*time)+(1-equal(shpt,2))*sdy_r; |
| 178 | shape_0_per_frame4= |
| 179 | shape_0_per_frame5=a1x = .5 + 0.42*cos(1-sin(3.2*time)); |
| 180 | shape_0_per_frame6=a1y = .5 + 0.47*sin(0.72*time-cos(1.1*time)); |
| 181 | shape_0_per_frame7=a2y = .5 + 0.42*cos(1-sin(1.82*time)); |
| 182 | shape_0_per_frame8=a2x = .5 + 0.47*sin(0.72*time-cos(1.72*time)); |
| 183 | shape_0_per_frame9=a3x = .5 + 0.42*sin(1-cos(2.12*time)); |
| 184 | shape_0_per_frame10=a3y = .5 + 0.47*cos(0.72*time-sin(2.7*time)); |
| 185 | shape_0_per_frame11=a4y = .5 + 0.42*sin(1-cos(1.72*time)); |
| 186 | shape_0_per_frame12=a4x = .5 + 0.47*cos(0.72*time-sin(1.2*time)); |
| 187 | shape_0_per_frame13= |
| 188 | shape_0_per_frame14= |
| 189 | shape_0_per_frame15=sg1 = abs(sin(time)); |
| 190 | shape_0_per_frame16=sg2 = a1x*above(sg1,0.75) + a2x*below(sg1,0.25) + a3x*above(sg1,0.25)*below(sg1,0.5)+ |
| 191 | shape_0_per_frame17=a4x*above(sg1,0.5)*below(sg1,0.75); |
| 192 | shape_0_per_frame18=sg3 = if(above(shpt,1.3),sg2,sg3); |
| 193 | shape_0_per_frame19=sg4 = a1y*above(sg1,0.75) + a2y*below(sg1,0.25) + a3y*above(sg1,0.25)*below(sg1,0.5)+ |
| 194 | shape_0_per_frame20=a4y*above(sg1,0.5)*below(sg1,0.75); |
| 195 | shape_0_per_frame21=sg5 = if(above(shpt,1.3),sg4,sg5); |
| 196 | shape_0_per_frame22= |
| 197 | shape_0_per_frame23= |
| 198 | shape_0_per_frame24=x = sg3; |
| 199 | shape_0_per_frame25=y = sg5; |
| 200 | shape_0_per_frame26=border_r = q1; |
| 201 | shape_0_per_frame27=border_b = q2; |
| 202 | shape_0_per_frame28=border_g = q3; |
| 203 | shapecode_1_enabled=0 |
| 204 | shapecode_1_sides=4 |
| 205 | shapecode_1_additive=0 |
| 206 | shapecode_1_thickOutline=0 |
| 207 | shapecode_1_textured=0 |
| 208 | shapecode_1_num_inst=1 |
| 209 | shapecode_1_x=0.500 |
| 210 | shapecode_1_y=0.500 |
| 211 | shapecode_1_rad=0.10000 |
| 212 | shapecode_1_ang=0.00000 |
| 213 | shapecode_1_tex_ang=0.00000 |
| 214 | shapecode_1_tex_zoom=1.00000 |
| 215 | shapecode_1_r=1.000 |
| 216 | shapecode_1_g=0.000 |
| 217 | shapecode_1_b=0.000 |
| 218 | shapecode_1_a=1.000 |
| 219 | shapecode_1_r2=0.000 |
| 220 | shapecode_1_g2=1.000 |
| 221 | shapecode_1_b2=0.000 |
| 222 | shapecode_1_a2=0.000 |
| 223 | shapecode_1_border_r=1.000 |
| 224 | shapecode_1_border_g=1.000 |
| 225 | shapecode_1_border_b=1.000 |
| 226 | shapecode_1_border_a=0.100 |
| 227 | shapecode_2_enabled=1 |
| 228 | shapecode_2_sides=4 |
| 229 | shapecode_2_additive=0 |
| 230 | shapecode_2_thickOutline=0 |
| 231 | shapecode_2_textured=0 |
| 232 | shapecode_2_num_inst=1 |
| 233 | shapecode_2_x=0.500 |
| 234 | shapecode_2_y=0.500 |
| 235 | shapecode_2_rad=0.15774 |
| 236 | shapecode_2_ang=0.00000 |
| 237 | shapecode_2_tex_ang=0.00000 |
| 238 | shapecode_2_tex_zoom=1.00000 |
| 239 | shapecode_2_r=1.000 |
| 240 | shapecode_2_g=1.000 |
| 241 | shapecode_2_b=1.000 |
| 242 | shapecode_2_a=1.000 |
| 243 | shapecode_2_r2=1.000 |
| 244 | shapecode_2_g2=1.000 |
| 245 | shapecode_2_b2=1.000 |
| 246 | shapecode_2_a2=1.000 |
| 247 | shapecode_2_border_r=1.000 |
| 248 | shapecode_2_border_g=1.000 |
| 249 | shapecode_2_border_b=1.000 |
| 250 | shapecode_2_border_a=0.000 |
| 251 | shape_2_per_frame1=ang = 1.571; |
| 252 | shape_2_per_frame2=x = int(rand(11))*.1111; |
| 253 | shape_2_per_frame3=y = int(rand(11))*.4; |
| 254 | shape_2_per_frame4= |
| 255 | shape_2_per_frame5=r = int(rand(100))*.01; |
| 256 | shape_2_per_frame6=g = int(rand(100))*.01; |
| 257 | shape_2_per_frame7=b = int(rand(100))*.01; |
| 258 | shape_2_per_frame8=r2 = int(rand(100))*.01; |
| 259 | shape_2_per_frame9=g2 = int(rand(100))*.01; |
| 260 | shape_2_per_frame10=b2 = int(rand(100))*.01; |
| 261 | shapecode_3_enabled=0 |
| 262 | shapecode_3_sides=4 |
| 263 | shapecode_3_additive=0 |
| 264 | shapecode_3_thickOutline=0 |
| 265 | shapecode_3_textured=0 |
| 266 | shapecode_3_num_inst=1 |
| 267 | shapecode_3_x=0.500 |
| 268 | shapecode_3_y=0.500 |
| 269 | shapecode_3_rad=0.10000 |
| 270 | shapecode_3_ang=0.00000 |
| 271 | shapecode_3_tex_ang=0.00000 |
| 272 | shapecode_3_tex_zoom=1.00000 |
| 273 | shapecode_3_r=1.000 |
| 274 | shapecode_3_g=0.000 |
| 275 | shapecode_3_b=0.000 |
| 276 | shapecode_3_a=1.000 |
| 277 | shapecode_3_r2=0.000 |
| 278 | shapecode_3_g2=1.000 |
| 279 | shapecode_3_b2=0.000 |
| 280 | shapecode_3_a2=0.000 |
| 281 | shapecode_3_border_r=1.000 |
| 282 | shapecode_3_border_g=1.000 |
| 283 | shapecode_3_border_b=1.000 |
| 284 | shapecode_3_border_a=0.100 |
| 285 | per_frame_1=wave_r = 0.5 + 0.5*sin(1.6*time); |
| 286 | per_frame_2=wave_g = 0.5 + 0.5*sin(4.1*time); |
| 287 | per_frame_3=wave_b = -1 + (1-wave_r + 1-wave_g); |
| 288 | per_frame_4=warp = 0; |
| 289 | per_frame_5=pfthresh = above(bass_att,pfthresh)*2+(1-above(bass_att,pfthresh))*((pfthresh-1.3)*0.96+1.3); |
| 290 | per_frame_6=pfdx_r = equal(pfthresh,2)*0.015*sin(5*time)+(1-equal(pfthresh,2))*pfdx_r; |
| 291 | per_frame_7=pfdy_r = equal(pfthresh,2)*0.015*sin(6*time)+(1-equal(pfthresh,2))*pfdy_r; |
| 292 | per_frame_8=rg1 = abs(sin(time)); |
| 293 | per_frame_9=rg2 = 12*pfdx_r*above(rg1,0.5) + 12*pfdy_r*below(rg1,0.5); |
| 294 | per_frame_10=rg3 = if(equal(pfthresh,2),rg2,rg3); |
| 295 | per_frame_11= |
| 296 | per_frame_12=q1 = wave_r; |
| 297 | per_frame_13=q2 = wave_g; |
| 298 | per_frame_14=q3 = wave_b; |
| 299 | per_frame_15= |
| 300 | per_pixel_1=thresh = above(bass_att,thresh)*2+(1-above(bass_att,thresh))*((thresh-1.3)*0.96+1.3); |
| 301 | per_pixel_2=dx_r = equal(thresh,2)*0.015*sin(5*time)+(1-equal(thresh,2))*dx_r; |
| 302 | per_pixel_3=dy_r = equal(thresh,2)*0.015*sin(6*time)+(1-equal(thresh,2))*dy_r; |
| 303 | per_pixel_4=tg1 = abs(sin(time)); |
| 304 | per_pixel_5=tg2 = 12*dx_r*above(tg1,0.5) + 12*dy_r*below(tg1,0.5); |
| 305 | per_pixel_6=tg3 = if(equal(thresh,2),tg2,tg3); |
| 306 | per_pixel_7= |
| 307 | per_pixel_8= |
| 308 | per_pixel_9=zoom = zoom - 0.01; |
| 309 | per_pixel_10=thresh = above(bass_att,thresh)*2+(1-above(bass_att,thresh))*((thresh-1.3)*0.96+1.3); |
| 310 | per_pixel_11=dx_r = equal(thresh,2)*0.015*sin(5*time)+(1-equal(thresh,2))*dx_r; |
| 311 | per_pixel_12=dy_r = equal(thresh,2)*0.015*sin(6*time)+(1-equal(thresh,2))*dy_r; |
| 312 | per_pixel_13=warp = warp + above(x,0.05 + 0.5*sin(bass_att))*below(x,0.1 + 0.5*sin(bass_att)) |
| 313 | per_pixel_14=*below(y,0.4)*5; |
| 314 | per_pixel_15=warp = warp + below(x,0.95 - 0.5*sin(treb_att))*above(x,0.9 - 0.5*sin(treb_att))* |
| 315 | per_pixel_16=above(y,0.6)*5; |
| 316 | per_pixel_17=warp = warp + above(y,0.05 + 0.5*sin(mid_att))*below(y,0.1 + 0.5*sin(mid_att)) |
| 317 | per_pixel_18=*above(x,0.6)*5; |
| 318 | per_pixel_19=warp = warp + below(y,0.95 - 0.5*cos(mid_att))*above(y,0.9 - 0.5*cos(mid_att))* |
| 319 | per_pixel_20=below(x,0.4)*5; |
| 320 | per_pixel_21=zoom = zoom - below(rad,0.05)*0.5; |
| 321 | per_pixel_22=rot = rot + below(rad,0.2)*0.1; |
| 322 | per_pixel_23=zoom = zoom + 0.005*above(rad,0.2)*(bass_att); |
| 323 | per_pixel_24=zoom = zoom - 0.05*below(rad,0.2); |
| 324 | per_pixel_25=kdx=dx;////////////////////////////////////////// |
| 325 | per_pixel_26=kdy=dy; |
| 326 | per_pixel_27=ksx=sx; |
| 327 | per_pixel_28=ksy=sy; |
| 328 | per_pixel_29=krt=rot; |
| 329 | per_pixel_30=kzm=zoom; |
| 330 | per_pixel_31=kcx=cx; |
| 331 | per_pixel_32=kcy=cy; |
| 332 | per_pixel_33=kwp=warp; |
| 333 | per_pixel_34= |
| 334 | per_pixel_35=dx=0; |
| 335 | per_pixel_36=dy=0; |
| 336 | per_pixel_37=sx=1; |
| 337 | per_pixel_38=sy=1; |
| 338 | per_pixel_39=rot=0; |
| 339 | per_pixel_40=zoom=1; |
| 340 | per_pixel_41=cx=.5; |
| 341 | per_pixel_42=cy=.5; |
| 342 | per_pixel_43=warp=0;///////////////////////////////////////////////////// |
| 343 | per_pixel_44= |
| 344 | per_pixel_45=thresh = above(bass_att,thresh)*2+(1-above(bass_att,thresh))*((thresh-1.3)*0.96+1.3); |
| 345 | per_pixel_46=dx_r = equal(thresh,2)*0.015*sin(5*time)+(1-equal(thresh,2))*dx_r; |
| 346 | per_pixel_47=dy_r = equal(thresh,2)*0.015*sin(6*time)+(1-equal(thresh,2))*dy_r; |
| 347 | per_pixel_48= |
| 348 | per_pixel_49=dy = dy + dy_r*8*(0.25*cos(12*rad)+0.5*sin((12*rad)*(rad*cos(thresh*time)-rad)) |
| 349 | per_pixel_50=*rad)*cos(12*ang); |
| 350 | per_pixel_51=dx = dx + dy_r*8*(0.25*sin(12*rad)+0.5*cos((12*rad)*(rad*cos(thresh*time)-rad)) |
| 351 | per_pixel_52=*rad)*sin(12*ang); |
| 352 | per_pixel_53=/////////////////////////////////////// |
| 353 | per_pixel_54=cr1=80*.01; |
| 354 | per_pixel_55=cr2=0*.01; |
| 355 | per_pixel_56=crx=cr2-cr1; |
| 356 | per_pixel_57=ci=rad; |
| 357 | per_pixel_58=cb=.25 ; |
| 358 | per_pixel_59=crs=2; |
| 359 | per_pixel_60=cr=pow(sin(ci*6.3-(cb*6.3))/2+.5,crs)*crx+cr1; |
| 360 | per_pixel_61=cqr=if( above (ci,.25+cb),cr,crx+cr1);crr=if( below(ci,1.5),cqr,crx+cr1); |
| 361 | per_pixel_62=jx1=crr; |
| 362 | per_pixel_63=kx1=1-crr; |
| 363 | per_pixel_64= |
| 364 | per_pixel_65=jdx=dx; |
| 365 | per_pixel_66=jdy=dy; |
| 366 | per_pixel_67=jsx=sx; |
| 367 | per_pixel_68=jsy=sy; |
| 368 | per_pixel_69=jrt=rot; |
| 369 | per_pixel_70=jzm=zoom; |
| 370 | per_pixel_71=jcx=cx; |
| 371 | per_pixel_72=jcy=cy; |
| 372 | per_pixel_73=jwp=warp; |
| 373 | per_pixel_74= |
| 374 | per_pixel_75=dx=(jx1*jdx+kx1*kdx); |
| 375 | per_pixel_76=dy=(jx1*jdy+kx1*kdy); |
| 376 | per_pixel_77=sx=(jx1*jsx+kx1*ksx); |
| 377 | per_pixel_78=sy=(jx1*jsy+kx1*ksy); |
| 378 | per_pixel_79=rot=(jx1*jrt+kx1*krt); |
| 379 | per_pixel_80=zoom=(jx1*jzm+kx1*kzm); |
| 380 | per_pixel_81=cx=(jx1*jcx+kx1*kcx); |
| 381 | per_pixel_82=cy=(jx1*jcy+kx1*kcy); |
| 382 | per_pixel_83=warp=(jx1*jwp+kx1*kwp);//////////////////////////////////////////////////// |
| 383 | per_pixel_84= |
| 384 | warp_1=`shader_body |
| 385 | warp_2=`{ |
| 386 | warp_3=` float2 scale = float2(1280,1024)*texsize.zw; // 1280x1024 : the resolution i modelled this shader with |
| 387 | warp_4=` float1 d = 0.005; |
| 388 | warp_5=` float1 dx = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).x*scale.x; |
| 389 | warp_6=` float1 dy = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).x*scale.y; |
| 390 | warp_7=` float1 dxb = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).x*scale.x; |
| 391 | warp_8=` float1 dyb = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).x*scale.y; |
| 392 | warp_9=` float2 my_uv = uv - float2(dx,dy)*0.01 + float2(dxb,dyb)*0.003; |
| 393 | warp_10=` |
| 394 | warp_11=` |
| 395 | warp_12=` |
| 396 | warp_13=` float2 v = 0.01; |
| 397 | warp_14=` ret.x = tex2D( sampler_fw_main, my_uv -floor(my_uv)*0).x; |
| 398 | warp_15=` |
| 399 | warp_16=` |
| 400 | warp_17=` ret.x += (ret.x - GetBlur3(uv).x)*.1; |
| 401 | warp_18=` ret.x += 0.004; |
| 402 | warp_19=` |
| 403 | warp_20=` |
| 404 | warp_21=`//-------------------------------- |
| 405 | warp_22=` |
| 406 | warp_23=` my_uv = uv + float2(dy,-dx)*0.05*(1.2-GetBlur3(uv).y); |
| 407 | warp_24=` |
| 408 | warp_25=` |
| 409 | warp_26=` |
| 410 | warp_27=` v = 0.01; |
| 411 | warp_28=` ret.z = tex2D( sampler_fw_main, my_uv).z; |
| 412 | warp_29=` |
| 413 | warp_30=` ret.z += (ret.z - GetBlur1(uv).z)*length(my_uv-uv)*180/length(scale); |
| 414 | warp_31=` ret.z *= 0.8; |
| 415 | warp_32=` ret.z += 0.004; |
| 416 | warp_33=` |
| 417 | warp_34=` |
| 418 | warp_35=` |
| 419 | warp_36=`//-------------------------------- |
| 420 | warp_37=` |
| 421 | warp_38=` d = 0.01; |
| 422 | warp_39=` my_uv = float2(-dy,dx)*0.045; |
| 423 | warp_40=` |
| 424 | warp_41=` dx = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).y*scale.x; |
| 425 | warp_42=` dy = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).y*scale.y; |
| 426 | warp_43=` my_uv += uv - float2(dx,dy)*0.03; |
| 427 | warp_44=` |
| 428 | warp_45=` |
| 429 | warp_46=` |
| 430 | warp_47=` v = 0.01; |
| 431 | warp_48=` ret.y =tex2D( sampler_fw_main, my_uv).y; |
| 432 | warp_49=` |
| 433 | warp_50=` |
| 434 | warp_51=` ret.y += (ret.y - GetBlur3(my_uv).y)*0.1 + 0.01; |
| 435 | warp_52=`//ret-=roam_sin*roam_cos.zxy; |
| 436 | warp_53=`//ret = 0; |
| 437 | warp_54=`} |
| 438 | comp_1=`shader_body |
| 439 | comp_2=`{ |
| 440 | comp_3=`//ret=tex2D(sampler_main,uv); |
| 441 | comp_4=`// ***** Flexis rotating caleidoscope code ***** |
| 442 | comp_5=`float2 cntr = float2(q13,q14); float sin = q11; float cos = q12; float scale = q15; |
| 443 | comp_6=`float2 uv_r = (uv-cntr)*aspect.xy; |
| 444 | comp_7=` uv_r = scale*float2( cos*uv_r.x - sin*uv_r.y, sin*uv_r.x + cos*uv_r.y); // rotation |
| 445 | comp_8=` uv_r = cntr + uv_r*aspect.zw; |
| 446 | comp_9=` uv_r = 1.0 - abs( frac( uv_r * 0.5 ) * 2.0 - 1.0 ); // mirror |
| 447 | comp_10=`sin = q17; cos = q18; scale = q16; |
| 448 | comp_11=`float2 uv_rr = (uv_r-cntr); |
| 449 | comp_12=` uv_rr = scale*float2( cos*uv_rr.x - sin*uv_rr.y, sin*uv_rr.x + cos*uv_rr.y); // counter-rotation |
| 450 | comp_13=` uv_rr = cntr + (uv_rr); |
| 451 | comp_14=`float t = q22; |
| 452 | comp_15=`float2 c = ((uv_rr-0.5)); |
| 453 | comp_16=`float1 ang_hq = atan2(c.x,c.y); |
| 454 | comp_17=`float2 spiral = float2(ang_hq*q21*1.5,0.666*log(length(c))-ang_hq*q21+t); |
| 455 | comp_18=`spiral = 0.5 + (0.5 - abs( frac( spiral * 0.5 ) * 2.0 - 1.0 ))*float2(0.96,1.02); // mirror |
| 456 | comp_19=`ret = GetPixel(saturate(spiral)); |
| 457 | comp_20=`ret-=roam_sin.wzy*roam_cos; |
| 458 | comp_21=` |
| 459 | comp_22=` |
| 460 | comp_23=`//ret=lum(ret)>0+(lum(ret)<=0.75)*ret; |
| 461 | comp_24=`ret=pow(GetBlur1(uv).xyz/treb_att,1-lum(saturate(ret.xyz))); |
| 462 | comp_25=`ret=pow(GetBlur2(uv).xyz/bass_att,1-lum(saturate(ret.xyz))); |
| 463 | comp_26=`//ret=1-ret; |
| 464 | comp_27=`} |